package com.bafa.ajax;

import java.io.IOException;

import javax.servlet.ServletException;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

import com.bafa.exceptions.ErrorException;
import com.bafa.objects.Scorer;
import com.bafa.objects.player.Player;
import com.bafa.services.RetrieveServices;

public class DisplayDivisionTopScorersAjax extends HttpServlet {

	
	@Override
	public void service(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException{
		/*Player[] scorers = DisplayServices.getDivisionTopScorers(new Integer(request.getParameter("divisionId")).intValue(),request.getParameter("seasonId"));
		StringBuffer xml = new StringBuffer();
		xml.append("<scorers>");
		for(int i=0;i<scorers.length;i++){
			xml.append(scorers[i].toXML());
		}
		xml.append("</scorers>");
		
		response.setContentType("text/xml");
	    response.getWriter().write(xml.toString());*/
	}
}
